home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / smcmd.z / smcmd
Text File  |  1998-10-30  |  8KB  |  199 lines

  1.  
  2.  
  3.  
  4. SSSSMMMMCCCCMMMMDDDD((((1111))))                                                              SSSSMMMMCCCCMMMMDDDD((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      smcmd - command-line web content administration and publishing tool
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ssssiiiitttteeeemmmmggggrrrr////bbbbiiiinnnn////ssssmmmmccccmmmmdddd ccccmmmmdddd UUUURRRRLLLL {{{{ ooootttthhhheeeerrrr____ddddoooocccc____iiiinnnnffffoooo }}}} {{{{ sssseeeedddd____ppppaaaatttttttteeeerrrrnnnn }}}}
  13.                                          {{{{ ----aaaauuuutttthhhh aaaauuuutttthhhh____ssssttttrrrr }}}} {{{{ ----pppptttthhhh eeeexxxxttttrrrraaaa____pppptttthhhh }}}}
  14.  
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _s_m_c_m_d allows a user (from the command-line; within a window shell) to
  18.      publish documents and perform some administrative tasks on a web site
  19.      that has the proper SiteMgr server extensions (see _s_i_t_e_m_g_r._c_g_i(1))
  20.      installed.
  21.  
  22. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  23.      Command line options are described below.
  24.  
  25.      ccccmmmmdddd  is a rrrreeeeqqqquuuuiiiirrrreeeedddd argument, and must be oooonnnneeee of the following:
  26.  
  27.           ----ccccoooo        check out a document.
  28.  
  29.           ----cccciiii        check in a document; "{other_doc_info}" required.
  30.  
  31.           ----rrrrmmmm        remove a document.
  32.  
  33.           ----lllloooocccckkkk      lock a document.
  34.  
  35.           ----uuuunnnnlllloooocccckkkk    unlock a document.
  36.  
  37.           ----rrrreeeennnnaaaammmmeeee    rename a document; "{other_doc_info}" required.
  38.  
  39.           ----ccccpppp        make a copy of a document; "{other_doc_info}" required.
  40.  
  41.           ----mmmmvvvv        move a document; "{other_doc_info}" required.
  42.  
  43.           ----sssseeeedddd       perform a "find and replace" operation on a document;
  44.                      "{sed_pattern}" required.
  45.  
  46.           ----vvvvaaaalllliiiiddddaaaatttteeee  validate (links, encoding, spelling) a document.
  47.  
  48.           ----rrrrlllloooogggg      show the revision (version control) log for a document.
  49.  
  50.           ----rrrrddddiiiiffffffff     show the revision diff[erences] for a document version.
  51.  
  52.      UUUURRRRLLLL  This argument is rrrreeeeqqqquuuuiiiirrrreeeedddd and must contains the full URL information
  53.           for a document on the "SiteMgr-enabled" web site. Only one document
  54.           at a time can be specified; "wild-card"'s are not allowed when using
  55.           _s_m_c_m_d.
  56.  
  57.           See the EEEExxxxaaaammmmpppplllleeeessss section for further information on how this
  58.           argument is specified. The syntax is as follows:
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSMMMMCCCCMMMMDDDD((((1111))))                                                              SSSSMMMMCCCCMMMMDDDD((((1111))))
  71.  
  72.  
  73.  
  74.           hhhhttttttttpppp::::////////sssseeeerrrrvvvveeeerrrr{{{{////ddddooooccccuuuummmmeeeennnntttt{{{{,,,,vvvveeeerrrrssssiiiioooonnnn}}}}}}}}
  75.  
  76.      ooootttthhhheeeerrrr____ddddoooocccc____iiiinnnnffffoooo
  77.           This option is either a local filename (if used with ----cccciiii), or a
  78.           relative UUUURRRRLLLL specification (minus the hhhhttttttttpppp::::////////sssseeeerrrrvvvveeeerrrr portion) for the
  79.           command options: ----rrrreeeennnnaaaammmmeeee,,,, ----ccccpppp,,,, ----mmmmvvvv.
  80.  
  81.      sssseeeedddd____ppppaaaatttttttteeeerrrrnnnn
  82.           This argument is used to designate the pattern specification for the
  83.           global "find and replace" (----sssseeeedddd) operation. The syntax is as
  84.           follows:
  85.  
  86.           """"gggg////<<<<ffffiiiinnnndddd____ppppaaaatttttttteeeerrrrnnnn>>>>////<<<<rrrreeeeppppllllaaaacccceeee____ppppaaaatttttttteeeerrrrnnnn>>>>////""""
  87.  
  88.      ----aaaauuuutttthhhh
  89.           Allows for specification of a HTTP authorization string. If your web
  90.           site is secure, and authorization is required, you can specify your
  91.           necessary HTTP server user name and password designation (aaaauuuutttthhhh____ssssttttrrrr)
  92.           as follows:
  93.  
  94.           ----aaaauuuutttthhhh """"hhhhttttttttpppp____uuuusssseeeerrrr____nnnnaaaammmmeeee::::hhhhttttttttpppp____uuuusssseeeerrrr____ppppaaaasssssssswwwwoooorrrrdddd""""
  95.  
  96.      ----pppptttthhhh If you are using SiteMgr to manage only a subsite of your full
  97.           server, specify that relative path as the designated eeeexxxxttttrrrraaaa____pppptttthhhh
  98.           variable.  Refer to the SiteMgr release notes or on-line help for
  99.           further information on this topic.
  100.  
  101. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  102.      To cccchhhheeeecccckkkk iiiinnnn a document:
  103.  
  104.        smcmd -ci http://www.foo.com/dir/doc.html /usr/tmp/file1.html
  105.  
  106.      To cccchhhheeeecccckkkk oooouuuutttt a document (_s_m_c_m_d will inform you where the document is
  107.      placed):
  108.  
  109.        smcmd -co http://www.foo.com/dir/doc.html
  110.  
  111.      To ccccooooppppyyyy a document that already exists on your web site:
  112.  
  113.        smcmd -cp http://www.foo.com/dir/doc.html /new_dir/new_doc.html
  114.  
  115.      To cccchhhhaaaannnnggggeeee all occurrences of a string in a document to another value:
  116.  
  117.        smcmd -sed http://www.foo.com/dir/doc.html 'g/July 4th/JULY FOURTH/'
  118.  
  119.      To vvvvaaaalllliiiiddddaaaatttteeee a document:
  120.  
  121.        smcmd -validate http://www.foo.com/dir/doc.html
  122.  
  123.      To retrieve rrrreeeevvvviiiissssiiiioooonnnn lllloooogggg iiiinnnnffffoooorrrrmmmmaaaattttiiiioooonnnn for a document:
  124.  
  125.        smcmd -rlog http://www.foo.com/dir/doc.html
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. SSSSMMMMCCCCMMMMDDDD((((1111))))                                                              SSSSMMMMCCCCMMMMDDDD((((1111))))
  137.  
  138.  
  139.  
  140.      To retrieve rrrreeeevvvviiiissssiiiioooonnnn ddddiiiiffffffffeeeerrrreeeennnncccceeeessss between a designated version of the
  141.      document ("1.12" in the example), and the current version:
  142.  
  143.        smcmd -rdiff http://www.foo.com/dir/doc.html,1.12
  144.  
  145.      To vvvvaaaalllliiiiddddaaaatttteeee a document on a secure site:
  146.  
  147.        smcmd -validate http://www.foo.com/dir/doc.html -auth "usr1:pass1"
  148.  
  149.  
  150. FFFFIIIILLLLEEEESSSS
  151.      /usr/sitemgr/bin/smcmd
  152.  
  153. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  154.      sitemgr(1), sitemgr.cgi(1)
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.                                                                         PPPPaaaaggggeeee 3333
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.